﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;

namespace SohuWeb.Models {
    public class UploadModel {
        
        [DisplayName("本地CSV文件")]
        public string CSVFileName { get; set; }
    }

    public class ConfigModel {
        [Required]
        [DataType(DataType.Text)]
        [DisplayName("csv文件保存路径")]
        public string CSVPath { get; set; }

        [Required]
        [DataType(DataType.Text)]
        [DisplayName("旧门禁数据采集时间")]
        public string CSVGatherTimeHour { get; set; }

        [Required]
        [DataType(DataType.Text)]
        [DisplayName("旧门禁数据采集时间")]
        public string CSVGatherTimeMinute { get; set; }

        [Required]
        [DataType(DataType.Text)]
        [DisplayName("新门禁数据采集时间")]
        public string NewDataGatherTimeHour { get; set; }

        [Required]
        [DataType(DataType.Text)]
        [DisplayName("新门禁数据采集时间")]
        public string NewDataGatherTimeMinute { get; set; }

        [Required]
        [DataType(DataType.Text)]
        [DisplayName("考勤核算开始时间")]
        public string ComputeTimeHour { get; set; }

        [Required]
        [DataType(DataType.Text)]
        [DisplayName("考勤核算开始时间")]
        public string ComputeTimeMinute { get; set; }
    }
}